package cn.edu.tsinghua.training.cms.demo.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import cn.edu.tsinghua.training.cms.demo.dao.GenericDao;
import cn.edu.tsinghua.training.cms.demo.entity.Article;
import cn.edu.tsinghua.training.cms.demo.service.ArticleService;

@Service
public class ArticleServiceImpl extends GenericServiceImpl<Article, Long> implements ArticleService {

	@Override
	@Autowired
	@Qualifier("articleDaoImpl")
	public void setGenericDao(GenericDao<Article, Long> genericDao) {
		super.setGenericDao(genericDao);
	}
	
}